import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import iView from 'view-design'
import { $axios } from './api/axios.js';

import 'view-design/dist/styles/iview.css'
import './assets/css/global.css';
import './assets/css/global.less';
Vue.config.productionTip = false
Vue.use(iView);
Vue.prototype.$Message.config({
  top: 220,
  duration: 5
});
window.$Message = Vue.prototype.$Message
window.$axios = Vue.prototype.$axios = $axios;
window.$app = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
